#pragma once

#include "ClockEngine.h"

#include "GameState.h"
#include "GameMenu.h"
#include "GameGalaxy.h"
#include "GameQuadrant.h"
#include "GameWin.h"
#include "GameLose.h"
#include "GameCredit.h"

class Game
{
private:
	bool m_running;

	WINAPP  m_app;
	WINFPS  m_fps;
	WINTIME m_time;
	D3DF    m_d3d;
	DINF    m_din;

	FSMSystem m_system;
	gData     m_systemData;
public:
	Game();
	~Game();

	void init(WindowHandle* a_handle);
	void reset();
	void release();

	void input();
	void update();
	void draw();

	void pre();
	void post();

	bool running();
};